package persistentie;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.swing.tree.DefaultMutableTreeNode;

public abstract class Mapper <E>
	{
		public Map<String,E> read() throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public Map<String,E> read(String index) throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public List<E> read(int index) throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public int findContinent(String naam) throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public String findLand(String naam) throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public int findLocatie(String naam) throws SQLException, IllegalStateException, ClassNotFoundException
		{
			throw new UnsupportedOperationException();
		}
		
		public int getLaatsteSleutel() {
			throw new UnsupportedOperationException();
		}
		
		public void schrijf(DefaultMutableTreeNode parent,String naamLand, String codeLand) throws SQLException, ClassNotFoundException, SQLException, ClassNotFoundException{
			throw new UnsupportedOperationException();
		}
		
		public void schrijf(DefaultMutableTreeNode parent,String naamLocatie,float breedtegraad, float lengtegraad, int hoogte) throws SQLException, ClassNotFoundException{
			throw new UnsupportedOperationException();
		}
		
		public void wijzig(E whatever){
			throw new UnsupportedOperationException();
		}
		
		public void verwijder(DefaultMutableTreeNode parent) throws SQLException, ClassNotFoundException{
			throw new UnsupportedOperationException();
		}

		public void verwijder(int id) throws SQLException, ClassNotFoundException{
			throw new UnsupportedOperationException();
		}
	}